package org.fing.edu.uy.esbadp.core.entity;

public class ServiceRequirements {
	
	private long serviceID;
	private int maximunInvocationsQuantityPerUnitTime;
	private long minimumSuccessInvocationRate;
	private long maximunAverageResponseTime;
	
	public ServiceRequirements(){
	}
	
	public ServiceRequirements(long serviceID){
		this.serviceID = serviceID;
	}
	
	/* getter and setters*/
	
	public long getServiceID() {
		return serviceID;
	}
	public void setServiceID(long serviceID) {
		this.serviceID = serviceID;
	}
	
	public long getMaximunInvocationsQuantityPerUnitTime() {
		return maximunInvocationsQuantityPerUnitTime;
	}
	public void setMaximunInvocationsQuantityPerUnitTime(int maximunInvocationsQuantityPerUnitTime) {
		this.maximunInvocationsQuantityPerUnitTime = maximunInvocationsQuantityPerUnitTime;
	}
	
	public long getMinimumSuccessInvocationRate() {
		return minimumSuccessInvocationRate;
	}
	public void setMinimumSuccessInvocationRate(long minimumSuccessInvocationRate) {
		this.minimumSuccessInvocationRate = minimumSuccessInvocationRate;
	}
	
	public long getMaximunAverageResponseTime() {
		return maximunAverageResponseTime;
	}
	public void setMaximunAverageResponseTime(long maximunAverageResponseTime) {
		this.maximunAverageResponseTime = maximunAverageResponseTime;
	}

}
